package com.lzmpt.imchat.adapter;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.lzmpt.imchat.R;

import java.util.List;

import androidx.recyclerview.widget.RecyclerView;


public class ThreeAdapter extends RecyclerView.Adapter<ThreeAdapter.ViewHolder> {
    private Context mContext;
    private List<String> datas;





    public ThreeAdapter(Context context, List<String> datas) {
        mContext = context;
        this.datas = datas;


    }


    @Override
    public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        View view = LayoutInflater.from(mContext).inflate(R.layout.item_three, parent, false);
        ViewHolder viewHolder = new ViewHolder(view);
        return viewHolder;
    }

    @Override
    public void onBindViewHolder(ViewHolder holder, final int position) {

    }

    @Override
    public int getItemCount() {
        return 2;
    }


    public class ViewHolder extends RecyclerView.ViewHolder {


        public ViewHolder(final View itemView) {
            super(itemView);

        }

    }
}
